[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
indentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ sta

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
aufzuschreiben.” \blank \startnarrower[left, right] Der\hspace[oneem] Wert \hspace[oneem] von \hspace[oneem] \m{y = f(x)} ist unabhängig von der Wahl von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} (Beutelspacher [10, S.54]) \blank \stopnarrower \stopmyBG \blank \blackrule

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
erkennen, dass ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank \setupnarrower [left=0.80cm, right=0.80cm] \startnarrower[left, right] \definehspace[oneem

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
avec des références en notes de bas de page, qui contiennent du grec. Cela pourrait être quelque chose comme ceci : \blank\startnarrower[1*left,1*right]\tfx\setupinterlinespace \noindent \quotation{Ἔφη γάρ οἱ Σωκράτη ἐντυχεῖν λελουμένον τε καὶ τὰς βλαύτας ὑποδεδεμένον, ἃ ἐκεῖνος ὀλιγάκις ἐποίε

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
y? The right command? And > using \startnarrower, \stopnarrower? Narrower refers to margins. Extra space between words would be something different (at least, as far as I get it). That being said, I have no idea how to get different inter-word spacing.

[NTG-context] Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Ursula Hermann
: The first paragraph should be normal written, but the second one should have more space between the words. Because of Math: Is \hspace the right way? The right command? And using \startnarrower, \stopnarrower? Many thanks Uschi

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, It was \startnarrower \stopnarrower, I put it out, now it is perfekt. I also send the pdf. Many thanks. Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 15:47 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Colored

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
Hi Uschi, unfortunately you also forgot the source code. I’m not sure if the examples in the wiki are good – the combination with \startnarrower might be a problem. Maybe setting the width helps (e.g. to \makeupwidth). Hraban Am 05.12.23 um 15:29 schrieb Ursula Hermann: Dear Hraban, Sorry

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
r \startexercici [exercici:proporcionalitat-directa-antic-15]{màquines d'impressió} Tres mà quines imprimeixen 1500 llibres cada una al mes. Si un empresari compràs 5 mà quines més, quants llibres podrà imprimir al cap del mes? \stopexercici \par \startexercici [exercici:proporcionalitat-directa-ant

[NTG-context] Very strange error:

2023-08-14 Thread Xavier B.
t de 125 g. hi ha una inscripció que posa \\par \\startnarrower [2*middle] \\quotation {Contingu t en calci 104 mg. (26\\% del consum diari recomanat)} \\stopnarrower \\par \\startitemize [a] \\item Quants mil·ligrams de calci hauria de prendre (per a arribar al 100\\% de la quantitat de calci recoman

Re: [NTG-context] Bug with \startnarrow?

2023-03-03 Thread Denis Maier via ntg-context
ntation that has the bug. With \startnarrow, you need two > sets of square brackets, 1 for the \setupnarrower data and 1 for the > \startnarrower data. Like this: > > \starttext > Some text before > \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfli > ne]}][lef

Re: [NTG-context] Bug with \startnarrow?

2023-02-23 Thread peter.hopcroft--- via ntg-context
It's the documentation that has the bug. With \startnarrow, you need two sets of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower data. Like this: \starttext Some text before \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}][left

[NTG-context] Bug with \startnarrow?

2023-02-23 Thread Denis Maier via ntg-context
but: \setupnarrower[left=5cm, right=2cm] \startnarrower[left,right] \input ward \stopnarrower \stoptext %% Is this a bug or intended behaviour ? Best, Denis ___ If your question is of interest

[NTG-context] Definestartstop, Narrower, and Blockquotej

2022-12-17 Thread Michael Urban via ntg-context
=2in,right=1in] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[ExtractDistance] \indenting[next]}] %Now the following commands are available: \startExtract and \stopExtract \starttext The extract from Knuth \startExtract \input knuth \stopExtract

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Peter Münster via ntg-context
gt; I use the command \startnarrower and \stopnarrower. It's not the same: \starttext \startquotation quotation\\quotation \stopquotation \startnarrower \quotation{quotation\\quotation} \stopnarrower \stoptext --

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Jean-Pierre Delange via ntg-context
working with an older version of CTX). To get the quote indented, instead of \startquotation, I use the command \startnarrower and \stopnarrower. What about something like this : \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{Que d'hommes entre Dieu et moi

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
0 \samplefile{tufte} \CrappyTraced \par % \crappyspecstep 2pt \samplefile{tufte} \CrappyTraced \par \samplefile{tufte} \CrappyTraced \startitemize \startitem \samplefile{tufte} \CrappyTraced \stopitem \startitem \samplefile{ward} \CrappyTraced \stopitem \stopitemize \startnarrower

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Thangalin via ntg-context
[TextBubbleTxFrame][TextBubbleFrame][ background=TextBubbleTxOverlay, location=right, ] % Map XHTML class names to start/stop environments. \definestartstop[bubblerx][ before={\startnarrower\startTextBubbleRxFrame}, after={\stopTextBubbleRxFrame\stopnarrower}, ] \definestartstop[bubbletx][ before

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
startstop[blockquote] [ before={ \blank \startnarrower \setupwhitespace[2pt] \setupindenting[none] \switchtobodyfont[termes]{\it }{\bf }% This is so weird. Put a comment marker after [termes] for a different result }, after={ \stopnarrower \blank \indenting[next]},

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread śrīrāma via ntg-context
X Gyre Pagella Math] \setupbodyfont[story,11pt] \usebodyfont[termes] \definestartstop [blockquote] [before={\blank\startnarrower\setupwhitespace[2pt]\setupindenting[none]}, style={\switchtobodyfont[termes]}, after={\stopnarrower\blank\indenting[next]}] \starttext \input

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
ns][modern] \definefontfamily[story][mono][modern] \definefontfamily[story][mm][TeX Gyre Pagella Math] \setupbodyfont[story,11pt] \definestartstop[blockquote] [ before={ \blank \startnarrower \setupwhitespace[2pt] \setupindenting[none] \switchtobodyfont[termes]{\it }{\bf }% This is so w

Re: [NTG-context] Critical Editions?

2022-01-04 Thread Pablo Rodriguez via ntg-context
iant] \setupnotation[variant][number=no] \setupnote[variant][way=bypage,paragraph=yes,rule=off] \definelines[slokaed][][indenting={yes, small, even}, before={\startnarrower\startlinenumbering}, after={\stoplinenumbering\stopnarrower}] \definelines[slokaedplain][][inde

Re: [NTG-context] Critical Editions?

2021-12-21 Thread Denis Maier via ntg-context
e=off] > > % Two "environments" for Sanskrit verses, one with, one without > linenumbers. > > % SANSKRIT EDITION linenumbers > \definelines[slokaed][][indenting={yes, small, even}, > > before=\startnarrower\startlinenumbering,after=\stoplinenumbering\st

[NTG-context] Critical Editions?

2021-12-21 Thread hanneder--- via ntg-context
[variant] [footnote] \setupnotation[variant][number=no] \setupnote[variant][way=bypage,paragraph=yes,rule=off] % Two "environments" for Sanskrit verses, one with, one without linenumbers. % SANSKRIT EDITION linenumbers \definelines[slokaed][][indenting={yes, small, ev

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
}% > \ignorespaces > \input tufte > \stoptext > > Indeed it looks bad (ugly) but it illustrates the idea. What makes > vadjust sort of useless for content is that it messes up spacing (but if > there is real demand and usage i can sort that out at some point, maybe

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
demand and usage i can sort that out at some point, maybe some new options or so). Thsi example also brings us to local boxes: \showframe \starttext \showmakeup[hbox] \startnarrower[2*left] \raggedleft {\localleftbox par {L1}\input tufte \par} \stopnarrower \blank \startnarrower[2*middle

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
preface with a quote %%% \startsetups SectionLHSPageSetup \page[left] \setupheader[state=empty] \start \startalignment[left,nothyphenated] \startnarrower[4*left] \tf\it \stopsetups \definestartstop [SectionLHSPage] [ before={\setups{SectionLHSPageSetup}}, after={\stopnarrower

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
gt;header=empty, >footer=chpaterfooter, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] > > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphen

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
    \startalignment[flushright,nothyphenated]     \startnarrower[4*left]     \em \getbuffer[chapter:quote]     \stopnarrower     \stopalignment     \page[right] \stopsetups \starttext \startbuffer [chapter:quote] If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
[chapter] [page=, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
> \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphenated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] %\noheaderandfooterlines % I want the enumber in the footer here \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-29 Thread Jan U. Hasecke
Hi Wolfgang, I am late as I was busy elsewhere, but thanks a lot for your help. Am 25.06.21 um 13:44 schrieb Wolfgang Schuster: \startsetups [userdata:shiftblock]     \signalrightpage     \doifelserightpage {     \startnarrower[2*left,-2*right]     \getuserdata

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Wolfgang Schuster
. \startsetups [userdata:shiftblock] \signalrightpage \doifelserightpage { \startnarrower[2*left,-2*right] \getuserdata \stopnarrower } { \startnarrower[-2*left,2*right] \getuserdata \stopnarrower } \stopsetups

Re: [NTG-context] Calculating Best Box Width?

2021-06-09 Thread Hans Hagen
] \startnarrower[left,right] \setupalign[flushright,nothyphenated,broad] \dontcomplain \noindent}, after={\stopalignment\stopnarrower \blank[EpigraphDistance] \indenting[next]}] \long\def\epigraph#1#2#3{% \startEpigraphText #1 \par \stopEpigraphText \ifx

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
of the hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt] \startnarrower[left,right] \setupalign

[NTG-context] \startblockquote…\stopblockquote issue

2020-12-31 Thread Alan Bowen
={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation\switchtobodyfont[9pt]}, after={\par\stopnarrower \blank[small,fixed] \noindentation},] \starttext \input ward \startblockquote \input ward \stopblockquote \stoptext I am attempting to get

Re: [NTG-context] lmtx

2020-10-30 Thread Jairo A. del Rio
as a trigger. Here are a few examples of usage: 162 163 \startbuffer 164 discrete---discrete 165 \stopbuffer 166 >> \typebuffer \startnarrower \dontcomplain \hsize 1pt \getbuffer \par \stopnarrower 167 \startbuffer 168 discrete\discretionary{}{}{---}discrete 169 \stop

[NTG-context] Local custom notes affect regular footnotes

2020-10-09 Thread Henning Hraban Ramm
be: \startlocalnotes[testnote] \startnarrower \input lorem\testnote{bla bla} \input lorem\testnote{bla bla} \stopnarrower \stoplocalnotes % forgets local notes \input knuth\footnote{Donald dixit} \placelocalnotes[testnote] % nothing In the MWE, the footnotes just disappear. In the actual project

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
in US English.) I tried several approaches e.g. with my own single start/stop macros that call \start/stopnarrower or \start/stopZitat – that always lead to unclosed environments. This looks as I want it to: \setupnarrower[left=2em,right=1.5em] \startnarrower \hskip-0.33em\quotation{Im übrigen

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> typography, I learned it’s different at least in US English.) > > I tried several approaches e.g. with my own single start/stop macros that > call \start/stopnarrower or \start/stopZitat – that always lead to unclosed > environments. This looks as I want it to: \setupnarrowe

Re: [NTG-context] Text to be placed into the free space after columns and end of the page

2020-05-22 Thread context
Hello Aditya, thanks for all your answers. You were right - my minimalist sample was not very suitable, and my real sample can be successfuly handled with \startnarrower. Thanks again for your time. Best regards, Lukas On 2020-05-21 10:52, Aditya Mahajan wrote: On Thu, 21 May 2020, cont

Re: [NTG-context] Text to be placed into the free space after columns and end of the page

2020-05-21 Thread Aditya Mahajan
a single column), you can use \setupnarrower[right=0.5\textwidth] \startnarrower[right] \input knuth \stopnarrower or to get right frame: \startframedtext[width=0.45\textwidth,frame=off, rightframe=on, roffset=0.5em] \input

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] [...] \definehighlight [BufferStyle] [style=smallitalic, color=blue] Use the highlight-environment or create a new startstop-environment to apply style

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
er > [before=\blank\blackrule\startnarrower\BufferStyle, > after=\stopnarrower\blackrule\blank] > > %% alternatively define custom buffers > \definebuffer > [foobar] > > \setupblackrules > [width=1cm, >height=1pt, >color=gray] > > \defi

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
er has before and after keys which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] %% alternatively define custom buffers \definebuffer [foobar] \setupblackrules [width=1cm, height=1pt, color=gray] \definehighli

Re: [NTG-context] Shift tabulate into margin and center

2020-05-05 Thread Tim Steenvoorden
r=0pc, > height=49pc, > footer=0pc, > bottomdistance=2.5pc, > bottom=1pc, > location=middle] > > \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} > > \section{First} > \subsection{First first} > > \input tufte > > \setupnarrower[left=

[NTG-context] Shift tabulate into margin and center

2020-05-04 Thread Tim Steenvoorden
=middle] \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} \section{First} \subsection{First first} \input tufte \setupnarrower[left=-9pc] \startnarrower[left] \startframedtext[frame=off,topframe=on,bottomframe=on,align=middle,width=\fullwidth] The whole frame should

Re: [NTG-context] changing alignment inside a paragraph

2019-12-10 Thread Wolfgang Schuster
justified, but I'd like the page numbers to be flushed to the right from their second line \FlushRightFromNextLine 34, 57, 101-104, 276, 345, 401-403.}\par \blank This is the normal result:\par \blank \startnarrower[right] This is the text of an index term, that is normally justified, but I'd

[NTG-context] changing alignment inside a paragraph

2019-12-10 Thread mf
numbers to be flushed to the right from their second line \FlushRightFromNextLine 34, 57, 101-104, 276, 345, 401-403.}\par \blank This is the normal result:\par \blank \startnarrower[right] This is the text of an index term, that is normally justified, but I'd like the page numbers to be flushed

[NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-28 Thread denis . maier . lists
rtstop [cslreferences] [ > before={% > \setupnarrower[left=\cslhangindent] > \startnarrower[left]% > \setupindenting[-\leftskip,yes,first]% > \indentation% >}, >after=\stopnarrower, > ] > > \starttext >

Re: [NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Hans Hagen
On 11/27/2019 2:17 PM, Denis Maier wrote: Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]         \startnarrower

[NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Denis Maier
Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]         \startnarrower[left]%         \setupindenting[-\leftskip,yes

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth { \blank[line] \setupwhitespace[none] \startnarrower \dontleavehmode\framed[ width=local, corner=03, background=color, backgroundcolor=cyan, frame

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth \startnarrower \dontleavehmode

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
t; > Hi all, > > Sorry, my solution didn’t work. > > My purpose of using \startnarrower is to have some paragraphs of text inside > the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. > > \startframedtext doesn’t have as many border options as

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs of text inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. \startframedtext doesn’t have as many border options as \framed. Should I use overlays? Or layers

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
how I can >>>>> avoid that. >>>> Change the order of both environment and put sidebar in the narrower block. >>>> >>>> The reason for the extra line is that \startsidebar begins a new paragraph >>>> but \startnarrower end the lest paragraph w

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Hans Hagen
space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Change the order of both environment and put sidebar in the narrower block. The reason for the extra line is that \startsidebar begins a new paragraph but \startnarrower end the lest

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
hat there’s space introduced if I use both >>> environments, but not if I use only one. And I didn’t find how I can avoid >>> that. >> Change the order of both environment and put sidebar in the narrower block. >> >> The reason for the extra line is that \startside

[NTG-context] variable edef with localhsize calculation

2019-04-04 Thread Rörig , Julian
] \startnarrower localhsize: \the\dimexpr\localhsize\relax \\ myVar: \the\dimexpr\myVar\relax \\ \stopnarrower \stoptext I would expect that myVar has the same value inside the narrower as outside, because I used \edef and not \def. Is there another variable I can use, or does someone knows

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Henri Menke
On 1/04/19 9:22 AM, Hans Hagen wrote: > On 3/31/2019 10:13 PM, Henri Menke wrote: >> I see that the patch has been applied in current, but could you please also >> apply it in beta (which is what I and probably most others use daily)? > some time next week we continue with betas as curren tis now

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:13 PM, Henri Menke wrote: > I see that the patch has been applied in current, but could you please also > apply it in beta (which is what I and probably most others use daily)? Hi Henri, I use beta and I update it with: ./first-setup.sh --modules=all At least my latest beta

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Hans Hagen
On 3/31/2019 10:13 PM, Henri Menke wrote: I see that the patch has been applied in current, but could you please also apply it in beta (which is what I and probably most others use daily)? some time next week we continue with betas as curren tis now frozen for tex live (there is also 'latest'

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Henri Menke
I see that the patch has been applied in current, but could you please also apply it in beta (which is what I and probably most others use daily)? Cheers, Henri On 6/03/19 12:12 PM, Henri Menke wrote: > Patch for the core file is attached. > > Cheers, Henri >

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Henning Hraban Ramm
one. And I didn’t find how I can avoid that. > Change the order of both environment and put sidebar in the narrower block. > > The reason for the extra line is that \startsidebar begins a new paragraph > but \startnarrower end the lest paragraph which results in a single empty &

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Wolfgang Schuster
sidebar in the narrower block. The reason for the extra lien is that \startsidebar begins a new paragraph but \startnarrower end the lest paragraph which results in a single empty line. Wolfgang ___ If your question

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Henning Hraban Ramm
ebar. Indeed here 5mm should > be replaced with what looks better with your setting of interlinespace. > > Best regards: OK > >> On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: >> >> Ahoi, >> I’m trying to mark examples in a book with indent (\startnarrow

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Otared Kavian
regards: OK > On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: > > Ahoi, > I’m trying to mark examples in a book with indent (\startnarrower) and a rule > in the margin (\startsidebar). > Each of those works on its own as it should, but combined there’s an > additio

[NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Henning Hraban Ramm
Ahoi, I’m trying to mark examples in a book with indent (\startnarrower) and a rule in the margin (\startsidebar). Each of those works on its own as it should, but combined there’s an additional empty line before and after introduced that I can’t get rid of. Any hints? \starttext \input tufte

[NTG-context] Spurious space in \startnarrower

2019-03-05 Thread Henri Menke
Patch for the core file is attached. Cheers, Henri diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv index 32b7f06fb..24c7c7893 100644 --- a/tex/context/base/mkiv/spac-hor.mkiv +++ b/tex/context/base/mkiv/spac-hor.mkiv @@ -717,7 +717,7 @@

Re: [NTG-context] \startnarrower

2018-12-20 Thread Wolfgang Schuster
Hans van der Meer schrieb am 20.12.18 um 14:15: Wolfgang, Your solution works, but repeats after every \par. The purpose was to have the very first line only as the one without the indent. I tried several parameters from \definedelimitedtext and from \setupindenting, but could not achieve

Re: [NTG-context] indented headings possible?

2018-12-13 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 13.12.18 um 11:12: Hi again, Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this: \starttext \showframe \startnarrower[left] \section{Section 1} stuff \stopnarrower \stoptext I know I could rig this up

Re: [NTG-context] \startnarrower

2018-12-13 Thread Wolfgang Schuster
Hans van der Meer schrieb am 13.12.18 um 12:15: Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line     second line     etc. Use a negative value for the indentation of the paragraph

[NTG-context] \startnarrower

2018-12-13 Thread Hans van der Meer
Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line second line etc. dr. Hans van der Meer

[NTG-context] indented headings possible?

2018-12-13 Thread Taco Hoekwater
Hi again, Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this: \starttext \showframe \startnarrower[left] \section{Section 1} stuff \stopnarrower \stoptext I know I could rig this up with \dontleavehmode\vbox{\advance\hsize

[NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-06 Thread Rik Kabel
}} \stopsetups \startsetups btx:quotedb:list:quote \limitatetext{\btxfield{extract}}{\textwidth}{\unknown} \blank[none] -\btxspace\btxflush{author} \btxcomma\btxfield{year} \stopsetups \starttexdefinition Quotation #QUOTE \startnarrower \blank

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Rik Kabel
On 8/13/2018 18:43, Rik Kabel wrote: On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang I am applying

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang I am applying it incorrectly, or it does not work

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wrong

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
, the \setupparagraphintro hack handles my needs, so I will proceed with that. \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
: \First, arg: \Arg)]    %\setupparagraphintro[next][(first: \First, arg: \Arg)]     \getbuffer[TestBuffer]   \stopparagraph Hans, That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
Rik Kabel schrieb am 13.08.18 um 16:28: Hans, That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wrong

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
]   \stopparagraph Hans, That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wrong and not easily controlled as with \llap

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
On 7/26/2018 5:27 PM, Henning Hraban Ramm wrote: Am 2018-07-26 um 16:03 schrieb Hans Hagen : \def\MyFill#1% {\leaders\hbox to 1em{\hss.\hss}\hfill \rlap{\hbox to \rightskip{\hss#1}}} \showframe \starttext \startnarrower[2*right] \startitemize[packed,joinedup] \startitem \input

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Henning Hraban Ramm
Am 2018-07-26 um 16:03 schrieb Hans Hagen : > \def\MyFill#1% > {\leaders\hbox to 1em{\hss.\hss}\hfill > \rlap{\hbox to \rightskip{\hss#1}}} > > \showframe > > \starttext > > \startnarrower[2*right] > \startitemize[packed,joinedup] > \startitem >

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
% {\leaders\hbox to 1em{\hss.\hss}\hfill \rlap{\hbox to \rightskip{\hss#1}}} \showframe \starttext \startnarrower[2*right] \startitemize[packed,joinedup] \startitem \input tufte \MyFill{33} \stopitem \startitem \input knuth \MyFill{99} \stopitem \stopitemize

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
:-). \samplefile{ward} \startnarrower \samplefile{ward} \startbuffer[test] Leading spaces And some more \stopbuffer \typebuffer[test] \stopnarrower \samplefile{ward} \startbuffer[test] Leading spaces And some more \stopbuffer \typebuffer[test] it is actually

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
\savebuffer[file=test-temp.tmp, prefix=no, list=test] \stoptext The leading spaces are stripped before the buffer is saved to the file temp.tmp. Is it possible for the leading space NOT to be stripped? (If not, I'll just document this as a feature :-). \samplefile{ward} \startnarrower

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Hans Hagen
=no, list=test] \stoptext The leading spaces are stripped before the buffer is saved to the file temp.tmp. Is it possible for the leading space NOT to be stripped? (If not, I'll just document this as a feature :-). \samplefile{ward} \startnarrower \samplefile{ward} \startbuffer[test

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Henning Hraban Ramm
I’d loved to use some clean code, but since I didn’t manage on my own, I resolved to this somewhat ugly setup: \def\doStartInt[#1]{\testpage[2]% \noindent\emph{#1}\par\gobblespacetokens% \startnarrower[left]\noindent\gobblespacetokens} \def\startInt{\dosingleempty\doStartInt} \def\stopInt

[NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread T. Kurt Bond
: = \definestartstop [exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after=\stopnarrower] \starttext \startcolumns[n=2] \section{Heading 1} Some text. \startexdent This sentence needs to be long enough to wrap at least once. This sentence needs to be long enough to wrap at least

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
% I guess I should change the footnote number font size here? > \stopsetups > > \definestartstop[myQuotation][ >setups=myQuotation, >before={ > \testpage[2] > \startnarrower[left,right] > \noindent}, >after={\stopnarrower > \indenting[next]}] >

[NTG-context] size of footnote numbers

2017-09-29 Thread Henning Hraban Ramm
size here? \stopsetups \definestartstop[myQuotation][ setups=myQuotation, before={ \testpage[2] \startnarrower[left,right] \noindent}, after={\stopnarrower \indenting[next]}] Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID

  1   2   3   4   5   >